package org.lendoo.web.pojo.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * Area的vo类
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "AreaVo", description = "Area的vo类")
public class AreaVo {
    @ApiModelProperty(value = "主键", dataType = "Integer")
    private Integer id;

    @ApiModelProperty(value = "父节点id", dataType = "Integer")
    private Integer parentId;

    @ApiModelProperty(value = "名称", dataType = "String")
    private String name;

    @ApiModelProperty(value = "类型。1表示省，2表示市，3表示县", dataType = "Integer")
    private Integer type;

    @ApiModelProperty(value = "页数", dataType = "Integer")
    private Integer pageNo;

    @ApiModelProperty(value = "每页数量", dataType = "Integer")
    private Integer pageSize;
}